package com.woniuxy.woniufp.trade.clients;

import com.woniuxy.woniufp.common.model.result.Result;
import com.woniuxy.woniufp.common.model.vo.trade.BorrowSyncRecordVo;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "woniufp-bank-access-service")
public interface BankFeignClient {
    @PostMapping("/bank/access/sync/borrow")
    @ApiOperation("借款记录审核，同步数据")
    public Result syncBorrowRecord(@RequestBody BorrowSyncRecordVo borrowSyncRecordVo);
}
